﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserSearchResult.aspx.cs"
    Inherits="SharingCenter.Web.Mod.orphans.UserSearchResult" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<body>

    <form runat="server" id="form1">
    <div id="hs-result">
        <asp:ListView runat="server" ID="lvResult">
            <LayoutTemplate>
                <div runat="server" id="itemPlaceholder" />
            </LayoutTemplate>
            <ItemTemplate>
                <div>
                    <table class="hsrt">
                        <tr>
                            <td class="inf" valign="top">
                                <div class="left">
                                    <span class="avtb"><span class="uid" sn="false" title="<%#Eval("UserId") %>"></span>
                                    </span>
                                </div>
                                <div>
                                    <div>
                                        <span class="nn"></span><span class="os" uid="<%#Eval("UserId") %>"></span>
                                    </div>
                                    <div>
                                        <asp:Label runat="server" Text='<%#Eval("FullName", "姓名: {0}") %>' />
                                    </div>
                                    <div>
                                        <%#Eval("Country") %>
                                        <%#Eval("Province") %>
                                        <%#Eval("City") %>
                                    </div>
                                </div>
                            </td>
                            <td class="opr textfar" valign="top">
                                <asp:MultiView runat="server" ID="mvAddContact" ActiveViewIndex="0">
                                    <asp:View runat="server">
                                        <asp:HyperLink CssClass="pointer addcontactbutton" uid='<%#Eval("UserId") %>' ID="lnkAddContact"
                                            runat="server">加为好友</asp:HyperLink>
                                    </asp:View>
                                    <asp:View runat="server">
                                        <span class="litetext">已经是好友</span>
                                    </asp:View>
                                </asp:MultiView>
                            </td>
                        </tr>
                    </table>
                </div>
            </ItemTemplate>
            <ItemSeparatorTemplate>
                <div class="hr1">
                </div>
            </ItemSeparatorTemplate>
            <EmptyDataTemplate>
                <span class="nss ns-info"></span><span class="iconlabel litetext">抱歉，没有找到用户。</span>
            </EmptyDataTemplate>
        </asp:ListView>
        <myuc:MessageBox runat="server" Visible="false" ID="msgError" MessageType="Error"
            Text="查询字符串错误！" />
        <div id="shs-c" title="加为好友">
            <div class="ctn2">
                <div id="presend">
                    <div class="fc">
                        <div class="left" id="shs-c-avt">
                        </div>
                        <div>
                            向 <span id="shs-c-nn"></span>发送好友请求。
                            <div>
                                <textarea type="text" id="shs-c-cmt" maxlength="100" cols="30" rows="2"></textarea>
                            </div>
                            <input type="hidden" id="shs-c-uid" />
                        </div>
                    </div>
                    <div class="actionarea textfar">
                        <a class="submitbutton" id="sendcontactrequestbutton">确定</a>
                    </div>
                </div>
                <div id="postsend">
                    <div>
                        <span class="nss ns-info"></span><span class="litetext iconlabel">好友请求已发送。</span>
                    </div>
                    <div class="actionarea textfar">
                        <a class="closemodalformbutton closesendrequestwindow">确定</a>
                    </div>
                </div>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
